package org.example.vo;

import java.sql.Date;

/**
 * @BelongsProject: StudentSystem
 * @BelongsPackage: org.example.vo
 * @Author: StarBonny
 * @CreateTime: 2024-12-23  15:31
 * @Description: TODO
 * @Version: 1.0
 */
public class UserVo {
    private int userId;
    private String userName;
    private String userPass;
    private String className;
    private String majorName;
    private Date classSubmitDate;
    private String positionTypeName;
    private String userTypeName;

    @Override
    public String toString() {
        return "UserVo{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPass='" + userPass + '\'' +
                ", className='" + className + '\'' +
                ", majorName='" + majorName + '\'' +
                ", classSubmitDate=" + classSubmitDate +
                ", positionTypeName='" + positionTypeName + '\'' +
                ", userTypeName='" + userTypeName + '\'' +
                '}';
    }

    public UserVo() {}

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPass() {
        return userPass;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public Date getClassSubmitDate() {
        return classSubmitDate;
    }

    public void setClassSubmitDate(Date classSubmitDate) {
        this.classSubmitDate = classSubmitDate;
    }

    public String getPositionTypeName() {
        return positionTypeName;
    }

    public void setPositionTypeName(String positionTypeName) {
        this.positionTypeName = positionTypeName;
    }

    public String getUserTypeName() {
        return userTypeName;
    }

    public void setUserTypeName(String userTypeName) {
        this.userTypeName = userTypeName;
    }

    public UserVo(int userId, String userName, String userPass, String className, String majorName, Date classSubmitDate, String positionTypeName, String userTypeName) {
        this.userId = userId;
        this.userName = userName;
        this.userPass = userPass;
        this.className = className;
        this.majorName = majorName;
        this.classSubmitDate = classSubmitDate;
        this.positionTypeName = positionTypeName;
        this.userTypeName = userTypeName;
    }
}
